#pragma once
#include "Character.h"
#include "Sprite.h"
#include "Utils.h"
#include "GlobalVariables.h"
#include "Gun.h"
#include "ListBullet.h"

class CEnemyRedForest : public CCharacter
{
protected:
	D3DXVECTOR2 _ContraPosition;
	DWORD _frame_Start_Red;
	DWORD _tick_Per_Frame;
	DWORD now;

	int _index_Enemy;
	int _current_Sprite_Forest;
	int _count_Time_Enemy_Up;
	int _count_Time_Enemy_Change;
	bool _isForestUp;
	int _ShootCount;
	bool _IsShootable;
	static int _GunXPosition[3];
	static int _GunYPosition[3];
	static int _ShootAngle[3];

	CSprite * _EnemyRedForest;
	CListBullet *_ListBullet;
public:

	CEnemyRedForest();
	void LoadResource();
	void Update(D3DXVECTOR2 ContraPositon);
	void Render(D3DXVECTOR2 ContraPositon);
	Box GetBox();
	~CEnemyRedForest();

};